#pragma once

#include <vector>

#include <gtl/ui/skins/pane.h>

namespace gtl
{

namespace skins
{

class imgs
	: public manager<imgs, 'imgs'>
{
	auto_reg_to_the_factory();

public:
	imgs();
	virtual ~imgs();

public:
	virtual unsigned int initialize(gtl::xml& node, wnd* parent_wnd);
	virtual bitmap* get_image(const gtl::tstr& strPath);

protected:
	void load_imgs(const gtl::xml& node);

protected:
	std::vector<std::pair<gtl::tstr, bitmap*>> m_imgs;
};

} // end of namespace skins

} // end of namespace gtl